<div class="modal hide fade in" id="detalherelprev<?=$i;?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    
    <form name="formhelpdesk" action="" method="post">

        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h3 id="myModalLabel"><?= $t_relprev_titulo_detalhes?> :: Nº <?=$linha['rel_id'];?></h3>
        </div>

        <div class="modal-body">

            <p>
                
                <h5><?= $t_relprev_titulo_gerais ?></h5>
                <?= $t_local ?>:&nbsp;&nbsp;
                <?=$linha['rel_local'];?><br>
                <?=$t_data?> / <?=$t_hora?>:&nbsp;&nbsp;
                <?=todatabr($linha['rel_data'])."&nbsp;&nbsp;&nbsp;{$linha['rel_hora']} Z";?><br>
                <h5><?= $t_relprev_titulo_envolvidos ?></h5>
                <?=nl2br($linha['rel_membro']);?><br>
                <h5><?= $t_situacao ?></h5>
                <?=nl2br($linha['rel_msg']);?><br>
                <h5><?= $t_relprev_titulo_relator ?>:</h5>
                <?=$linha['rel_relator']."<br>".$linha['rel_contato'];?>
                
            </p>

        </div>

        <div class="modal-footer">
            <a href="?pag=relprev_alt&rel_id=<?=$linha['rel_id'];?>" class="btn btn-primary">Editar</a>
            <button class="btn" data-dismiss="modal" aria-hidden="true">Fechar</button>
            <buttom class="btn" onclick="window.open('mod/detalherelprev/imprimir.php?rel_id=<?=$linha['rel_id'];?>');">Imprimir</buttom>

        </div>
        
    </form>
    
</div>